import request from "@/utils/request.js";
//查询所有消息
export const msgListService=()=>{
    return request.get("/msg/list")
}
//查询用户标识消息
export const msgListBySignService =(msgSign)=>{
    return request.get("/msg/listBySign?msgSign="+msgSign)
}
//添加消息
export const msgAddService =(msgData)=>{
    return request.post("/msg/add",msgData)
}
//添加发送消息的人
export const msgAddStatueService = ()=>{
    return request.post("/msg/addMsgState")
}
//查询发送消息的用户列表
export const msgListUserService = (params)=>{
    return request.get("/msg/listMsgState",{params:params})
}